package com.asecurity.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author iszengziqiang@163.com
 * @date 2021-10-20 18:35
 * @Version: 1.0
 * @desc
 */
@Data
@TableName(value = "t_user")
public class User implements Serializable {
    @ApiModelProperty(value = "用户id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String username;

    private String password;

    @ApiModelProperty(value = "用户姓名")
    private String fullname;

    @ApiModelProperty(value = "手机号")
    private String mobile;

}
